﻿using System;
using UnityEngine;

namespace Yoozoo.Modules.InnerCity
{
    public class CityUnitMgrEntity : MonoBehaviour
    {
        private CityUnitMgr mgr;

        public void SetBody(CityUnitMgr mgr)
        {
            this.mgr = mgr;
        }

        private void Update()
        {
            if (this.mgr == null)
                return;
            
            this.mgr.Update();
        }
    }
}